package org.jxht.dto;

import org.jxht.util.BaseDto;

/**
 * Created by huang on 2017/3/18 0018.
 */
public class MajProDto extends BaseDto{

    private int majId;

    private String majName;

    private String proId;

    private String proName;

    private String stuProId;

    private int entranceTime = 0;

    public MajProDto() {
    }

    public MajProDto(String stuProId) {
        this.stuProId = stuProId;
    }

    public MajProDto(int majId, String proId, int entranceTime) {
        this.majId = majId;
        this.proId = proId;
        this.entranceTime = entranceTime;
        this.stuProId = Integer.toString(entranceTime)+proId;
    }

    public int getMajId() {
        return majId;
    }

    public void setMajId(int majId) {
        this.majId = majId;
    }

    public String getProId() {
        return proId;
    }

    public void setProId(String proId) {
        this.proId = proId;
    }

    public String getStuProId() {
        return stuProId;
    }

    public void setStuProId(String stuProId) {
        this.stuProId = stuProId;
    }

    public int getEntranceTime() {
        return entranceTime;
    }

    public void setEntranceTime(int entranceTime) {
        this.entranceTime = entranceTime;
    }

    public String getMajName() {
        return majName;
    }

    public void setMajName(String majName) {
        this.majName = majName;
    }

    public String getProName() {
        return proName;
    }

    public void setProName(String proName) {
        this.proName = proName;
    }

    @Override
    public String toString() {
        return "MajProDto{" +
                "majId=" + majId +
                ", majName='" + majName + '\'' +
                ", proId='" + proId + '\'' +
                ", proName='" + proName + '\'' +
                ", stuProId='" + stuProId + '\'' +
                ", entranceTime=" + entranceTime +
                '}';
    }
}
